package com.myway.dto.utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @类名称：DTOPagedList 
 * @类描述：分页对象 
 * @创建时间：2015年11月11日 下午7:50:40 
 * @author Jiang.Yida
 * @version V1.0
 */
public class DTOPagedList<T> implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1573919494972028371L;

	private List<T> list=new ArrayList<T>();
	
	//最大页号

	private int maxPageNumber;
	
	//返回的结果所在页号

	private int currentPageNumber;
	
	//总结果总数
	private Long totalResultCount;

	public Long getTotalResultCount() {
		return totalResultCount;
	}

	public void setTotalResultCount(Long totalResultCount) {
		this.totalResultCount = totalResultCount;
	}

	/**
	 * @return the list
	 */
	public List<T> getList() {
		return this.list;
	}

	/**
	 * @param list the list to set
	 */
	public void setList(List<T> list) {
		this.list = list;
	}

	/**
	 * @return the maxPageNumber
	 */
	public int getMaxPageNumber() {
		return maxPageNumber;
	}

	/**
	 * @param maxPageNumber the maxPageNumber to set
	 */
	public void setMaxPageNumber(int maxPageNumber) {
		this.maxPageNumber = maxPageNumber;
	}

	/**
	 * @return the currentPageNumber
	 */
	public int getCurrentPageNumber() {
		return currentPageNumber;
	}

	/**
	 * @param currentPageNumber the currentPageNumber to set
	 */
	public void setCurrentPageNumber(int currentPageNumber) {
		this.currentPageNumber = currentPageNumber;
	}

	
	

}
